package com.xjve.framework.hibernate.query.model;

import lombok.Getter;
import lombok.Setter;

/**
 * SQL模板信息
 */
@Getter
@Setter
public class SqlTemplate {

    // SQL模板名称
    private final String name;

    // SQL模板内容
    private final String content;

    // SQL模板备注
    private final String remark;

    // 来源文件名
    private final String fileName;

    public SqlTemplate(String name, String content, String remark, String fileName) {
        this.name = name;
        this.content = content;
        this.remark = remark;
        this.fileName = fileName;
    }


    @Override
    public String toString() {
        return "SqlTemplate{" +
                "name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", fileName='" + fileName + '\'' +
                '}';
    }
}
